Ad Widget

Collapse

SNMP, can`t read OID values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pgin
    Junior Member
    • Sep 2014
    • 13

    #1

    SNMP, can`t read OID values

    Hi,

    I have setup a discovery rule. The check are :
    type: SMNPv2 agent, port: 161, community: : public, OID: .1.3.6.1.2.1.1.1.0
    type: SMNPv2 agent, port: 161, community: : public, OID: .1.3.6.1.2.1.1.2.0
    type: SMNPv2 agent, port: 161, community: : public, OID: .1.3.6.1.2.1.1.3.0
    type: SMNPv2 agent, port: 161, community: : public, OID: .1.3.6.1.2.1.1.4.0

    Then, I go in Monitoring->Discovery
    I only see the detection of
    .1.3.6.1.2.1.1.1.0, .1.3.6.1.2.1.1.3.0 and .1.3.6.1.2.1.1.4.0

    If, on the command line, I use snmpwalk or snmpget with the same "addresses", i can read the 4 values.

    The standard address .1.3.6.1.2.1.1.2.0 contains the OID of the device which I want to use to select the templates,...

    Thanks in advance for your answer.
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hello and welcome!

    Did you also create an action that takes care of the received values and adds the discovered hosts to monitoring?



    Best Regards,
    Ingus

    Comment

    • pgin
      Junior Member
      • Sep 2014
      • 13

      #3
      discovery rule bug, need workaround

      First of all, thanks Ingus for your reply

      Configuration->Discovery

      Name: test
      Discovery by proxy: No Proxy
      IP range: 10.7.50.1,10.7.50.3,10.7.50.7
      Delay (in sec): 20
      Checks
      SNMPv2 agent ".1.3.6.1.2.1.1.1.0"
      SNMPv2 agent ".1.3.6.1.2.1.1.2.0"
      SNMPv2 agent ".1.3.6.1.2.1.1.3.0"
      SNMPv2 agent ".1.3.6.1.2.1.1.4.0"
      SNMPv2 agent "sysObjectID.0"
      Device uniqueness criteria: IP address

      It seams that it is a known and old bug : ZBX-4054

      What I am looking now, is a workaround. I have several types of devices (routers, firewall, cellular modems (several types)) on my network. I am looking for a way to identify them in order to associate the proper template. Most of them have same kind of parameters but located at different location (MIB, SNMP).
      I have found that I can monitor registers that are mapped for a particular model. But, nothing tell me that a future model will not respond to the same address, and, it implies as many request than there is model type which is a problem when cost is based on traffic (cellular).

      Comment

      Working...